package com.dream.cgomall.dao;

import com.dream.cgomall.entity.CgoRole;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * (CgoRole)表数据库访问层
 *
 * @author makejava
 * @since 2021-07-02 11:16:19
 */
@Mapper
public interface CgoRoleDao {
    //查询权限
    public List<CgoRole> query(Integer userId);
    //新增权限
    int insert(CgoRole cgoRole);
    //删除权限
    int deleteById(Integer id);
}

